package com.jwater.core.serialize;
/**
 * @description:
 * @author: jnner
 * @createDate: 2021/2/5
 * @version: 1.0
 */
public interface SerializeService {
	public <T> byte[] serialize(T obj) throws SerializeException;

	public <T> T deserialize(byte[] data, Class<T> clazz) throws SerializeException;

	public byte[] serializeArray(Object... objs) throws SerializeException;

	public Object[] deserializeArray(byte[] data) throws SerializeException;
}
